#include <bits/stdc++.h>
#define endl '\n'
using namespace std;
using ll = long long;
using vi = vector<int>;
using pii = pair<int, int>;

void solve()
{
    vi arr(10);
    for (int i = 0; i < 10; i++) {
        cin >> arr[i];
    }
    sort(arr.begin(), arr.end());
    for (int num : arr) {
        cout << num << ' ';
    }
}

int main()
{
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    int T = 1;
    // cin >> T;
    while (T--)
        solve();
    return 0;
}